//
//  UITextField+Input.m
//  SoccerLottery
//
//  Created by chuanshuangzhang chuan shuang on 15/12/24.
//  Copyright © 2015年 chuanshuangzhang. All rights reserved.
//

#import "UITextField+Input.h"

@implementation UITextField (Input)

- (void)applyInputStyle
{
    self.layer.masksToBounds = YES;
    self.layer.borderWidth = 0.5;
    self.layer.borderColor = RGBACOLOR(151, 151, 151, 1.0).CGColor;
    self.layer.cornerRadius = 3.0;
    self.leftViewMode = UITextFieldViewModeAlways;
    UIView *leftView = [[UIView alloc]init];
    leftView.frame = CGRectMake(0, 0, 20, 44);
    self.leftView = leftView;
    self.textColor = RGBACOLOR(151, 151, 151, 1.0);
    self.font = [UIFont systemFontOfSize:15];
}
@end
